[INFO] cloning repository https://github.com/anon767/rust-webserver
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anon767/rust-webserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanon767%2Frust-webserver", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanon767%2Frust-webserver'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f494664f23657a820a17d9487302e2ee84f0bdee
[INFO] building anon767/rust-webserver against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanon767%2Frust-webserver" "/workspace/builds/worker-12/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/anon767/rust-webserver on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/anon767/rust-webserver
[INFO] finished tweaking git repo https://github.com/anon767/rust-webserver
[INFO] tweaked toml for git repo https://github.com/anon767/rust-webserver written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] crate git repo https://github.com/anon767/rust-webserver already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 12a52a0f89dd2bb98e3d76e499d7ff313d2adddb49a5944062b9341a8ad7cd9d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "12a52a0f89dd2bb98e3d76e499d7ff313d2adddb49a5944062b9341a8ad7cd9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12a52a0f89dd2bb98e3d76e499d7ff313d2adddb49a5944062b9341a8ad7cd9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12a52a0f89dd2bb98e3d76e499d7ff313d2adddb49a5944062b9341a8ad7cd9d", kill_on_drop: false }`
[INFO] [stdout] 12a52a0f89dd2bb98e3d76e499d7ff313d2adddb49a5944062b9341a8ad7cd9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a97a69e919f2e5202d0c7960c3cf3c57a2a85030733344dc1003c73f825de75
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1a97a69e919f2e5202d0c7960c3cf3c57a2a85030733344dc1003c73f825de75", kill_on_drop: false }`
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling num-traits v0.1.42
[INFO] [stderr]    Compiling serde v1.0.27
[INFO] [stderr]    Compiling ascii v0.7.1
[INFO] [stderr]    Compiling chunked_transfer v0.3.1
[INFO] [stderr]    Compiling rand v0.3.20
[INFO] [stderr]    Compiling time v0.1.39
[INFO] [stderr]    Compiling log v0.4.1
[INFO] [stderr]    Compiling serde_derive_internals v0.19.0
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]    Compiling num-integer v0.1.35
[INFO] [stderr]    Compiling uuid v0.1.18
[INFO] [stderr]    Compiling serde_derive v1.0.27
[INFO] [stderr]    Compiling num-iter v0.1.34
[INFO] [stderr]    Compiling num v0.1.41
[INFO] [stderr]    Compiling url v0.2.38
[INFO] [stderr]    Compiling chrono v0.2.25
[INFO] [stderr]    Compiling tiny_http v0.5.8
[INFO] [stderr]    Compiling serde_json v1.0.9
[INFO] [stderr]    Compiling webserver v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/config.rs:18:49
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn parse_config(content: &String) -> Result<(ConfigDocument), Error> {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/config.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let config: Result<(ConfigDocument), Error> = parse_config(&content);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/threadpool.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | type Job = Box<FnBox + Send + 'static>;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'static`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::error::Error`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use serde_json::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `server::*`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use server::*;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Request`, `Response`
[INFO] [stdout]   --> src/main.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 | use self::tiny_http::{Response, Request};
[INFO] [stdout]    |                       ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `workers`
[INFO] [stdout]  --> src/threadpool.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     workers: Vec<Worker>,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `id`
[INFO] [stdout]   --> src/threadpool.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     id: usize,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `thread`
[INFO] [stdout]   --> src/threadpool.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     thread: thread::JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `webServer` should have a snake case name
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let webServer = server::WebServer;
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `web_server`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     request.respond(response);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 33.59s
[INFO] running `Command { std: "docker" "inspect" "1a97a69e919f2e5202d0c7960c3cf3c57a2a85030733344dc1003c73f825de75", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a97a69e919f2e5202d0c7960c3cf3c57a2a85030733344dc1003c73f825de75", kill_on_drop: false }`
[INFO] [stdout] 1a97a69e919f2e5202d0c7960c3cf3c57a2a85030733344dc1003c73f825de75
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] c3136a6d96d9d351473ee11840754b0988d1e1e7022b3576e0591137fb9699de
[INFO] running `Command { std: "docker" "start" "-a" "c3136a6d96d9d351473ee11840754b0988d1e1e7022b3576e0591137fb9699de", kill_on_drop: false }`
[INFO] [stderr]    Compiling getopts v0.2.16
[INFO] [stderr]    Compiling diff v0.1.11
[INFO] [stderr]    Compiling filetime v0.1.15
[INFO] [stderr]    Compiling serde_bytes v0.10.3
[INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/getopts-0.2.16/src/lib.rs:1026:33
[INFO] [stdout]      |
[INFO] [stdout] 971  |     let mut machine = |cont: &mut bool, (i, c): (usize, char)| {
[INFO] [stdout]      |                       ---------------------------------------- borrow of `state` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 975  |         state = match (state, whitespace, limit) {
[INFO] [stdout]      |         ----- borrow occurs due to use of `state` in closure
[INFO] [stdout] ...
[INFO] [stdout] 1026 |     while cont && match state { B | C => true, A => false } {
[INFO] [stdout]      |                                 ^ use of borrowed `state`
[INFO] [stdout] 1027 |         machine(&mut cont, (fake_i, ' '));
[INFO] [stdout]      |         ------- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0503`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `getopts`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "c3136a6d96d9d351473ee11840754b0988d1e1e7022b3576e0591137fb9699de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3136a6d96d9d351473ee11840754b0988d1e1e7022b3576e0591137fb9699de", kill_on_drop: false }`
[INFO] [stdout] c3136a6d96d9d351473ee11840754b0988d1e1e7022b3576e0591137fb9699de
